package cn.gdsdxy.service;

import cn.gdsdxy.dao.AppraiseMapper;
import cn.gdsdxy.pojo.Appraise;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Service
public class AppraiseService {
    @Autowired
    AppraiseMapper appraiseMapper;
    public List<Appraise> getidappraise(int id){
        return appraiseMapper.getidappraise(id);
    }
    public  int addAppraise(Appraise appraise){
        return appraiseMapper.addAppraise(appraise);
    }
}
